<template>
	<view class="u-p-28">
		<team :showTree="true"></team>
		<u-gap height="20"></u-gap>
	</view>
</template>


<script setup>
	import team from '@/pagesSub/components/team.vue';
	import orderRentItem from '@/pagesSub/components/order-rent-item.vue';
	import store from '@/store/index.js'; //需要引入store
	import {
		ref,
		reactive,
		computed,
		getCurrentInstance,
		watch
	} from 'vue'
	import {
		onReady,
		onLoad,
		onShow
	} from '@dcloudio/uni-app'
	const {
		proxy,
	} = getCurrentInstance()
	const {
		nav,
		navLogin
	} = proxy.$util;
	

	const tabsCurrent = ref(0)
	const tabsList = [{
			name: '进行中',
			id: ''
		},
		{
			name: '已完成',
			id: 2
		},
	];
	onReady(() => {

	})
	onLoad((d) => {
		// getList(1)
	})
	onShow(() => {
		uni.$off('orderDetail_done');
		uni.$once('orderDetail_done', (v) => {
			// getList(1)
		})
	})
</script>
<style>
	page {
		min-height: 100%;
		background: linear-gradient(207deg, #117B12 49%, #17A919 100%);
	}
</style>
<style lang="scss" scoped>
	page {
		min-height: 100%;
		background: linear-gradient(207deg, #117B12 49%, #17A919 100%);
	}
	.data-box{
		background: linear-gradient(180deg, #D1F9D1 0%, #FFFFFF 40%);
	}
</style>